/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package beans;

import java.util.Date;
import javax.faces.flow.FlowScoped;
import javax.inject.Named;

/**
 *
 * @author Ahmed
 */
@Named
@FlowScoped (value = "users")
public class UsersBean {
    private String name;
    private String password;
    private String email;
    private Date birth;
    
    public String getReturnValue(){
        System.out.println("exiting");
        return "/index";
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Date getBirth() {
        return birth;
    }

    public void setBirth(Date birth) {
        this.birth = birth;
    }
    
}
